<template>
  <div>
    <UpdateDlg/>
    <router-view></router-view>
  </div>
</template>
<script setup>
import { onUnmounted ,getCurrentInstance} from "vue";
let { proxy } = getCurrentInstance()
onUnmounted(() => {
  // 销毁断开连接
  proxy.$socket.closeFn();
})


</script>


